Skip to content

Enable workflow testing + fix header #8512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

thomtrp
Copy link
Contributor

@thomtrp thomtrp commented Nov 15, 2024

  • clean execution header
  • enable test on workflows + add snack bar
  • display snack bar error if workflow cannot be tested

Behaviour still need to be validated by @Bonapara
Capture d’écran 2024-11-15 à 12 16 36
Capture d’écran 2024-11-15 à 12 16 48

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR enhances workflow testing capabilities and improves header functionality across the application. Here's a concise summary of the key changes:

  • Modified runWorkflowVersion hook to use a more explicit object parameter structure with workflowVersionId and optional payload
  • Added workflow test validation in RecordShowPageWorkflowHeader with snackbar notifications for success/error states
  • Added isWorkflowSubObjectMetadata check in ShowPageAddButton to prevent showing add button for workflow-related objects
  • Added new workflow run query hooks in server module for update/delete operations
  • Improved error handling with descriptive snackbar messages when workflows cannot be tested

The changes appear well-structured and improve both the developer and user experience around workflow testing and management.

9 file(s) reviewed, 8 comment(s)
Edit PR Review Bot Settings | Greptile

@thomtrp thomtrp force-pushed the tt-fix-version-and-run-header branch from 2d91b81 to 5cb0d18 Compare November 15, 2024 13:49
Copy link
Contributor

@martmull martmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomtrp thomtrp merged commit 54b28ff into main Nov 15, 2024
16 checks passed
@thomtrp thomtrp deleted the tt-fix-version-and-run-header branch November 15, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants